/*    */ package com.qmsk.business.info.carSystem.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ import java.util.HashMap;
/*    */ import java.util.Map;
/*    */ import org.springframework.stereotype.Repository;
/*    */ 
/*    */ @Repository
/*    */ public class CarSystemDAO extends SupportDAO
/*    */ {
/*    */   public GsonEbRst getGsonOfBrandId(Integer brandId, Integer nPageIdx, Short nPageSize)
/*    */     throws SQLException
/*    */   {
/* 16 */     Object[] params = { brandId };
/* 17 */     return getGsonOfParams("selectSqlOfBrandId", "selectCountSqlOfBrandId", "selectJsonOfFull", 
/* 18 */       params, nPageIdx, nPageSize);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfManuId(Integer manuId, Integer nPageIdx, Short nPageSize) throws SQLException {
/* 22 */     Object[] params = { manuId };
/* 23 */     return getGsonOfParams("selectSqlOfManuId", "selectCountSqlOfManuId", "selectJsonOfFull", 
/* 24 */       params, nPageIdx, nPageSize);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfAll(Integer nPageIdx, Short nPageSize) throws SQLException {
/* 28 */     return getGsonOfParams("selectSqlOfAll", "selectCountSqlOfAll", "selectJsonOfFull", 
/* 29 */       nPageIdx, nPageSize);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfBrandId(Integer brandId) throws SQLException {
/* 33 */     Object[] params = { brandId };
/* 34 */     return getGsonOfParams("selectSqlOfBrandId", "selectCountSqlOfBrandId", "selectJsonOfFull", 
/* 35 */       params, null, null);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfManuId(Integer manuId) throws SQLException {
/* 39 */     Object[] params = { manuId };
/* 40 */     return getGsonOfParams("selectSqlOfManuId", "selectCountSqlOfManuId", "selectJsonOfFull", 
/* 41 */       params, null, null);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfAllPage() throws SQLException {
/* 45 */     Map params = null;
/* 46 */     return getGsonOfParams("selectSqlOfAllPage", "selectCountSqlOfAllPage", "selectJsonOfFull", 
/* 47 */       params, null, null);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfAll(Map<String, Object> params, Integer nPageIdx, Short nPageSize) throws SQLException
/*    */   {
/* 52 */     return getGsonOfParams("selectBsSqlOfAll", params, nPageIdx, nPageSize, 
/* 53 */       true); }
/*    */ 
/*    */   public GsonEbRst getGsonOfAll(Map<String, Object> params) throws SQLException {
/* 56 */     return getGsonOfParams("selectBsSqlOfAll", params, false);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfAll(Long id) throws SQLException
/*    */   {
/* 61 */     Map params = new HashMap();
/* 62 */     params.put("id", id);
/* 63 */     return getGsonOfParams("selectBsSqlOfAll", params, false);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfBrandId(Long brandId) throws SQLException {
/* 67 */     Map params = new HashMap();
/* 68 */     params.put("brandId", brandId);
/* 69 */     return getGsonOfParams("selectBsSqlOfAll", params, false);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.info.carSystem.dao.CarSystemDAO
 * JD-Core Version:    0.5.3
 */